<template>
  <div class="my-card">
      <div>
          <slot name="header">默认标题</slot>
      </div>
      <hr>
      <div>
          <slot>默认内容</slot>
      </div>
  </div>
</template>

<script>
export default {

}
</script>

<style>
.my-card {
    width: 600px;
    min-height: 400px;
    border: 1px solid #000;
}
</style>